Is there a split in JavaScript